package com.example.administrator.szb.bean;
import java.io.Serializable;

/**
 * Created by syh on 2016/7/1.
 */
public class Messages implements Serializable {
    /**
     * result : 0
     * err_code : 1
     * err_msg : 手机号码格式不正确！
     * data : {}
     */
    private int result;
    private int err_code;
    private String err_msg;
    private Object data;
    private String msginfo;
    public Messages(){}

    public Messages(int result, int err_code, String err_msg, Object data, String msginfo) {
        this.result = result;
        this.err_code = err_code;
        this.err_msg = err_msg;
        this.data = data;
        this.msginfo = msginfo;
    }

    public String getMsginfo() {
        return msginfo;
    }

    public void setMsginfo(String msginfo) {
        this.msginfo = msginfo;
    }

    public int getResult() {
        return result;
    }

    public void setResult(int result) {
        this.result = result;
    }

    public int getErr_code() {
        return err_code;
    }

    public void setErr_code(int err_code) {
        this.err_code = err_code;
    }

    public String getErr_msg() {
        return err_msg;
    }

    public void setErr_msg(String err_msg) {
        this.err_msg = err_msg;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }
}
